<template>
    <div class="app-details">
        <div class="back">
            <i class="EachApp EachApp_zuoyi hover" @click="emit('handleMsg', 'back')"></i>
        </div>
        <div class="content">
            <div class="content-title">{{ appMsgDetail.title }}</div>
            <div class="content-html" v-dompurify-html="appMsgDetail.content" v-if="appMsgDetail.content"></div>
            <a-empty v-else></a-empty>
        </div>
    </div>
</template>
<script lang="ts" setup>
const props = defineProps({
    appMsgDetail: { type: Number, default: () => { return 0 } }
})
const emit = defineEmits(['handleMsg']);
</script>
<style lang="scss" scoped>
.app-details{
    .back{
        padding: 10px;
        .hover{
            font-size: 20px;
            color: #666;
        }
    }
    .content{
        &-title{
            text-align: center;
            font-size: 24px;
            font-weight: bold;
        }
    }
}
</style>